package com.anjubao.parking.municipal.parkinglot.mapper;

import com.anjubao.parking.municipal.parkinglot.dto.ParkingStatServiceDto;
import com.anjubao.parking.municipal.parkinglot.model.ParkingTradeOrder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.time.LocalDateTime;

/**
 * 支付订单记录
 * @author anjubao
 */
public interface ParkingTradeOrderMapper extends BaseMapper<ParkingTradeOrder> {
    /**
     * 服务数据
     * @param cityId
     * @param startTime
     * @param endTime
     * @return
     */
    ParkingStatServiceDto getParkingStat(Integer cityId, LocalDateTime startTime, LocalDateTime endTime);
}
